package com.huawei.hms.framework.network.restclient;

import android.content.Context;
import com.huawei.hms.framework.network.util.HttpUtils;

public class Version {
    private static final String BUILD_TIME = "2019-11-26";
    private static String USER_AGENT = null;
    private static final String VERSION = "1.0.13.301";

    public static String getVersion() {
        return "1.0.13.301";
    }

    public static String getBuildTime() {
        return "2019-11-26";
    }

    public static String getUserAgent(Context context) {
        if (USER_AGENT == null) {
            USER_AGENT = HttpUtils.getAgent(context);
        }
        return USER_AGENT;
    }
}
